package cn.edu.dgut.css.sai.springsecuritygiteeexperiment;

import lombok.Data;

@Data
public class Oauth2GiteeUser {

    private String username;
    private String avatar_url; //头像图片链接
    private String html_url;
    private String bio; //简介
    private String createTime;
    private String updateTime;
    private Integer followers; // 粉丝数
    private Integer following; //关注数
    private Integer watched; //仓库数


    public Oauth2GiteeUser(String username, String avatar_url,String html_url, String bio, String createTime, String updateTime, Integer followers, Integer following, Integer watched) {
        this.username = username;
        this.avatar_url = avatar_url;
        this.html_url = html_url;
        this.bio = bio;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.followers = followers;
        this.following = following;
        this.watched = watched;
    }
}
